home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 58 / pcpp58a.iso / extras / quake 3 source / Q3A_ToolSource.exe / Main / surfaceflags.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-02  |  2.3 KB  |  52 lines

  1. // This file must be identical in the quake and utils directories
  2.  
  3. // contents flags are seperate bits
  4. // a given brush can contribute multiple content bits
  5.  
  6. // these definitions also need to be in q_shared.h!
  7.  
  8. #define    CONTENTS_SOLID            1        // an eye is never valid in a solid
  9. #define    CONTENTS_LAVA            8
  10. #define    CONTENTS_SLIME            16
  11. #define    CONTENTS_WATER            32
  12. #define    CONTENTS_FOG            64
  13.  
  14. #define    CONTENTS_AREAPORTAL        0x8000
  15.  
  16. #define    CONTENTS_PLAYERCLIP        0x10000
  17. #define    CONTENTS_MONSTERCLIP    0x20000
  18. //bot specific contents types
  19. #define    CONTENTS_TELEPORTER        0x40000
  20. #define    CONTENTS_JUMPPAD        0x80000
  21. #define CONTENTS_CLUSTERPORTAL    0x100000
  22. #define CONTENTS_DONOTENTER        0x200000
  23.  
  24. #define    CONTENTS_ORIGIN            0x1000000    // removed before bsping an entity
  25.  
  26. #define    CONTENTS_BODY            0x2000000    // should never be on a brush, only in game
  27. #define    CONTENTS_CORPSE            0x4000000
  28. #define    CONTENTS_DETAIL            0x8000000    // brushes not used for the bsp
  29. #define    CONTENTS_STRUCTURAL        0x10000000    // brushes used for the bsp
  30. #define    CONTENTS_TRANSLUCENT    0x20000000    // don't consume surface fragments inside
  31. #define    CONTENTS_TRIGGER        0x40000000
  32. #define    CONTENTS_NODROP            0x80000000    // don't leave bodies or items (death fog, lava)
  33.  
  34. #define    SURF_NODAMAGE            0x1        // never give falling damage
  35. #define    SURF_SLICK                0x2        // effects game physics
  36. #define    SURF_SKY                0x4        // lighting from environment map
  37. #define    SURF_LADDER                0x8
  38. #define    SURF_NOIMPACT            0x10    // don't make missile explosions
  39. #define    SURF_NOMARKS            0x20    // don't leave missile marks
  40. #define    SURF_FLESH                0x40    // make flesh sounds and effects
  41. #define    SURF_NODRAW                0x80    // don't generate a drawsurface at all
  42. #define    SURF_HINT                0x100    // make a primary bsp splitter
  43. #define    SURF_SKIP                0x200    // completely ignore, allowing non-closed brushes
  44. #define    SURF_NOLIGHTMAP            0x400    // surface doesn't need a lightmap
  45. #define    SURF_POINTLIGHT            0x800    // generate lighting info at vertexes
  46. #define    SURF_METALSTEPS            0x1000    // clanking footsteps
  47. #define    SURF_NOSTEPS            0x2000    // no footstep sounds
  48. #define    SURF_NONSOLID            0x4000    // don't collide against curves with this set
  49. #define SURF_LIGHTFILTER        0x8000    // act as a light filter during q3map -light
  50. #define    SURF_ALPHASHADOW        0x10000    // do per-pixel light shadow casting in q3map
  51. #define    SURF_NODLIGHT            0x20000    // never add dynamic lights
  52.